home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Scheduled Tasks 1.xpl < prev    next >
Text File  |  2002-10-29  |  1KB  |  43 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="3"
  3. "COUNT"="1"
  4. "UIPATH 1"="System\Scheduled Tasks"
  5. "NAME"="Logfile Location"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.00"
  8. '''"OSVERSION"="0001011"
  9. "TEXT 1"="Logfile"
  10. "DESCRIPTION 1"="All new Windows versions contain the "Scheduled Tasks" service, which can be used to schedule program execution. In Windows XP (and upwards), you can view the contents by opening Explorer, open "My Computer", open "Control Panel" and finally "Scheduled Tasks". In older Windows versions, the "Scheduled Tasks" folder is visible directly from Explorer."
  11. "DESCRIPTION 2"="This setting can be used to control where the lofile should be saved. By default, it is saved in your Windows folder as "SchedLgU.Txt", e.g. "C:\WINDOWS\SchedLgU.Txt"."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="Also known as "Scheduling Agent" "
  16.  
  17.  
  18. sPath="HKLM\SOFTWARE\Microsoft\SchedulingAgent\LogPath"
  19.  
  20.  
  21. Sub Plugin_Initialize 
  22.   s=RegReadValue(sPAth)
  23.   SetUIElement 1,s
  24. End Sub
  25.  
  26.  
  27. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  28.  sFile=GetUIElement(1)
  29.  if len(sFile)>0 then
  30.     Call RegWriteValue(sPath,sFile,4)
  31.  else
  32.     Call MsgError("Please enter a filename!")
  33.  end if
  34.  
  35. End Sub
  36.  
  37.  
  38. Sub Plugin_Terminate 
  39. End Sub
  40.  
  41.  
  42.  
  43.